package com.spring.core.model;

import java.util.HashMap;
import java.util.Map;

/**
 * @Author 琦哥 110
 * @Date 2018/7/5 11:18
 */
public class SpringMappings {
	private String prefix;
    private String suffix;
    private String basePackage;
    private Map<String,String> mappings;
	public String getPrefix() {
		return prefix;
	}
	public void setPrefix(String prefix) {
		this.prefix = prefix;
	}
	public String getSuffix() {
		return suffix;
	}
	public void setSuffix(String suffix) {
		this.suffix = suffix;
	}
	public String getBasePackage() {
		return basePackage;
	}
	public void setBasePackage(String basePackage) {
		this.basePackage = basePackage;
	}
	//处理静态资源。待定
	public Map<String, String> getMappings() {
		if(this.mappings == null)
        {
            this.mappings = new HashMap<String,String>();
        }
		return mappings;
	}
	 @Override
		public String toString() {
			return "SpringMappings [prefix=" + prefix + ", suffix=" + suffix + ", basePackage=" + basePackage + "]";
		}
	

}
